package repo

import (
	"broker-server/internal/data/user"
	"broker-server/internal/database"
	"context"
)

type UserRepo interface {
	SaveUser(conn database.DbConn, ctx context.Context, user *user.User) error
	FindUser(ctx context.Context, username, password string) (error, *user.User)
}
